package entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 主检推荐复检表
 * </p>
 *
 * @author Huazige
 * @since 2022-06-02
 */
@Getter
@Setter
@TableName("ti_recommended")
@ApiModel(value = "Recommended对象", description = "主检推荐复检表")
public class Recommended implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键推荐-复检编号")
    @TableId(value = "recommended_id", type = IdType.ASSIGN_ID)
    private String recommendedId;

    @ApiModelProperty("批次编号")
    private String batchId;

    @ApiModelProperty("兵役信息编号")
    private String bingyiInfoId;

    @ApiModelProperty("应征人员编号")
    private String binyiId;

    @ApiModelProperty("家庭编号")
    private String familyId;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("体检日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime examinationTime;

    @ApiModelProperty("个人登记编号")
    private String personnelRegisterId;

    @ApiModelProperty("附件类型")
    private String typeOfAttachment;

    @ApiModelProperty("同意日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime agreedDate;

    @ApiModelProperty("复检日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime reInspectionDate;

    @ApiModelProperty("体检编号")
    private String examineId;

    @ApiModelProperty("排序值")
    private String orderValue;

    @ApiModelProperty("不合格项")
    private String failedName;

    @ApiModelProperty("建议1")
    private String suggest1;

    @ApiModelProperty("是否手术可治愈1")
    private String isCurable1;

    @ApiModelProperty("是否手术可治愈1")
    private String isCurable2;

    @ApiModelProperty("不合格项2")
    private String failedName2;

    @ApiModelProperty("建议2")
    private String suggest2;

    @ApiModelProperty("是否通知")
    private String isNote;

    @ApiModelProperty("价格")
    private String price;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("是否设置日期")
    private String isSetDate;

    @ApiModelProperty("状态")
    private String state;

    @ApiModelProperty("推荐时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime recommendedTime;

    @ApiModelProperty("是否填写建议")
    private String isSuggest;

    @ApiModelProperty("主检审核结果")
    private String mainAuditResult;
    @ApiModelProperty("镇武装部审核结果")
    private String townAuditResult;
    @ApiModelProperty("市武装部审核结果")
    private String cityAuditResult;
    @ApiModelProperty("主检审核原因")
    private String mainAuditReason;
    @ApiModelProperty("镇武装部审核原因")
    private String townAuditReason;
    @ApiModelProperty("市武装部审核原因")
    private String cityAuditReason;


}
